export default (Vue) => {
  Vue.filter('adTypeTargetCase', (type) => {
    /*eslint-disable*/
    switch (+type) {
      case 1:
        return '文章链接'
        break
      case 2:
        return '网址链接'
        break
      case 3:
        return '贝塔ID'
        break
      case 4:
        return '用户ID'
        break
      case 7:
        return '话题名称'
        break
      case 8:
        return '动态ID'
        break
      case 10:
        return '迷你组合ID'
        break
      case 11:
        return '存股宝ID'
        break
      case 12:
        return '文章栏目ID'
        break
      default:
        return '无'
    }
  /*eslint-enable*/
  })
}
